package com.bjpowernode.web.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 麦翔盛
 * @ClassName: TecentRealNameConfig
 * @Package: com.bjpowernode.web.config
 * @description: 腾讯云 实名认证配置
 * @date 2022/5/24 19:39
 */

@Component
@ConfigurationProperties(prefix = "tencent.realname")
public class TencentRealNameConfig {

     String secretId;
     String secretKey;

    public TencentRealNameConfig() {
    }

    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public TencentRealNameConfig(String secretId, String secretKey) {
        this.secretId = secretId;
        this.secretKey = secretKey;
    }

    @Override
    public String toString() {
        return "TencentRealNameConfig{" +
                "secretId='" + secretId + '\'' +
                ", secretKey='" + secretKey + '\'' +
                '}';
    }
}
